package com.spa.infrastructure.repository.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("s_douyin_oauth")
public class DouyinOauthPO extends BasePO{

    @TableField(value = "open_id")
    private String openId;

    @TableField(value = "access_token")
    private String accessToken;

    @TableField(value = "expires_date")
    private Date expiresDate;

    @TableField(value = "log_id")
    private String logId;

    @TableField(value = "refresh_expires_date")
    private Date refreshExpiresDate;

    @TableField(value = "refresh_token")
    private String refreshToken;

    @TableField(value = "scope")
    private String scope;

    @TableField(value = "avatar")
    private String avatar;

    @TableField(value = "nickname")
    private String nickname;

    @TableField(value = "union_id")
    private String unionId;

    @TableField(value = "phone")
    private String phone;

}
